package com.ly.mp;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
public class Xrule2Application {
    private static final Logger logger = LoggerFactory.getLogger(Xrule2Application.class);
    
    public static void main(String[] args) {
        try {
            SpringApplication.run(Xrule2Application.class, args);
            logger.info("Application started successfully.");
        } catch (Exception e) {
            logger.error("Application started fail", e);
        }
    }
}
